<script setup lang="ts">
const fn = () => {
  console.log('右侧被点了!')
}
</script>

<template>
  <cp-nav-bar @click-right="fn" title="登录" right-text="注册"></cp-nav-bar>
  <div>登录页</div>
  <van-button type="success">点我</van-button>
  <van-checkbox>勾我</van-checkbox>
  <van-cell title="我是单元格"></van-cell>
  666
</template>

<style lang="scss" scoped></style>
